package br.com.ruidobrasil.util.componentes.slides {
	
	import flash.events.Event;
	
	/**
	 * Class extends the Event class to create a custom 
	 * event for the ImageUpload.mxml component.
	 * 
	 * @see flash.events.Event
	 */
	public class BotaoSlideEvent extends Event {
		
		// Used for the event type.
		public static const BOTAO_SLIDE_EVENT: String = "botaoSlideEvent";
		
		public var numeroBotao: int;
		
		/**
		 * Class constructor sets the default values for 
		 * the bubbles and cancelable parameters. 
		 */ 
		public function BotaoSlideEvent(type:String, numBotao: int, bubbles:Boolean=true, cancelable:Boolean=false) {
			super(type, bubbles, cancelable);
			
			numeroBotao = numBotao;
		}
	}
}